import request from '@/request/index.js';

/**
 * 新增督办
 */
export const handleadd = (params) => {
	return request.post({
		url: '/extBiz/handle/add',
		data: params,
	});
};
/**
 * 待变列表
*/ 
export const pendingTasksList = (params) => {
	return request.get({
		url: '/extBiz/handle/pendingTasksList',
		data: params,
	});
};
/**
 * 获取下发记录
*/ 
export const getLssuedRecordList = (params) => {
	return request.get({
		url: '/extBiz/handle/getLssuedRecordList',
		data: params,
	});
};
/**
 * 督办分解
*/ 
export const handleDecompose = (params) => {
	return request.post({
		url: '/extBiz/handle/handleDecompose',
		data: params,
	});
};
/**
 * 获取详情
*/ 
export const getInfo = (params) => {
	return request.get({
		url: '/extBiz/handle/getInfo',
		data: params,
	});
};
/**
 * 处理记录
*/ 
export const getProcessRecordList = (params) => {
	return request.get({
		url: '/extBiz/handle/getProcessRecordList',
		data: params,
	});
};
/**
 * 督办任务处理
*/ 
export const handleProcess = (params) => {
	return request.post({
		url: '/extBiz/handle/handleProcess',
		data: params,
	});
};
/**
 * 延期申请
*/ 
export const extensionApply = (params) => {
	return request.post({
		url: '/extBiz/handle/extensionApply',
		data: params,
	});
};
/**
 * 获取审批列表
*/ 
export const handleApprovalList = (params) => {
	return request.get({
		url: '/extBiz/handle/getHandleApprovalList',
		data: params,
	});
};
/**
 * 获取审批详情 
 * 
*/ 
export const getHandleApprovalDetails = (params) => {
	return request.get({
		url: '/extBiz/handle/getHandleApprovalDetails',
		data: params,
	});
};
/**
 * H5审批提交 
 * 
*/ 
export const submitHandleApproval = (params) => {
	return request.post({
		url: '/extBiz/handle/submitHandleApproval',
		data: params,
	});
};
/**
 * 我的经办
 * 
*/ 
export const myManagementList = (params) => {
	return request.get({
		url: '/extBiz/handle/myManagementList',
		data: params,
	});
};
/**
 * H5获取审批数量
*/ 
export const getHandleApprovalNumbers = (params) => {
	return request.get({
		url: '/extBiz/handle/getHandleApprovalNumbers',
		data: params,
	});
};
/**
 *   工作台账  
*/ 
export const workLedgerList = (params) => {
	return request.get({
		url: '/extBiz/handle/workLedgerList',
		data: params,
	});
};